package day60;

public enum GenderEnum {
	// MAN,WOMAN相当于GenderEnum new出来的两个实例对象
	// The constructor GenderEnum(String) is undefined
	MAN("男"),WOMAN("女");
	
	private String value;
	
	private GenderEnum(String value) {
		this.value = value;
	}
	
	public String getValue() {
		return value;
	}
}
